package com.dy.nygl.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import com.dy.nygl.pojo.MailBoxChat;

@Component("mailBoxChatDao")
public interface MailBoxChatMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MailBoxChat record);

    int insertSelective(MailBoxChat record);

    MailBoxChat selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MailBoxChat record);

    int updateByPrimaryKeyWithBLOBs(MailBoxChat record);

    int updateByPrimaryKey(MailBoxChat record);
    
	List<MailBoxChat> selectNotView(@Param("receiveId")String receiveId,@Param("status")String status);
	
	List<MailBoxChat> selectAll(@Param("receiveId")String receiveId);

}